package com.example.exploreactivedemo1.fragments

import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.navigation.fragment.findNavController
import com.example.exploreactivedemo1.R
import com.example.exploreactivedemo1.base.BaseFragment
import com.example.exploreactivedemo1.databinding.FragmentAvatarVerifyBinding

class AvatarVerifyFragment : BaseFragment<FragmentAvatarVerifyBinding>(){

    override fun initView(rootView: View?) {
        super.initView(rootView)
        //初始化view
        fragementBinding.avatarBackButton.setOnClickListener {
            findNavController().navigate(R.id.avatar_to_login_fragment)
        }
    }

    override fun inflateBinding(
        inflater: LayoutInflater,
        container: ViewGroup?
    ): FragmentAvatarVerifyBinding {
        return FragmentAvatarVerifyBinding.inflate(inflater)
    }

    override fun getLayoutResId(): Int {
        return R.layout.fragment_avatar_verify
    }
}